#include"UdpClient.hpp"

int main(int argc,char** argv)
{
    if(argc!=3)
    {
        cout<<"Usage: ./myserver Serverport ServerIP"<<endl;
        return 1;
    }
    UdpClient* uc=new UdpClient(atoi(argv[1]),argv[2]);

    uc->Init();
    uc->Run();
    return 0;
}